package com.ruoyi.doctorlibrary.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【医生库】对象 doctor_library
 *
 * @author ruoyi
 * @date 2025-07-02
 */
@ApiModel(description = "医生库实体")
public class DoctorLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医生id", example = "医生id")
    private Long doctorId;

    @ApiModelProperty(value = "医生姓名", example = "医生姓名")
    @Excel(name = "医生姓名")
    private String doctorName;

    @ApiModelProperty(value = "联系方式", example = "联系方式")
    @Excel(name = "联系方式")
    private String doctorPhone;

    @ApiModelProperty(value = "所在地址", example = "所在地址")
    @Excel(name = "所在地址")
    private String address;

    @ApiModelProperty(value = "医生性别", example = "医生性别")
    @Excel(name = "医生性别")
    private String doctorGender;

    @ApiModelProperty(value = "所属医院", example = "所属医院")
    @Excel(name = "所属医院")
    private String hospital;

    @ApiModelProperty(value = "所属用户id", example = "所属用户id")
    @Excel(name = "所属用户id")
    private String userId;

    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }

    public void setDoctorName(String doctorName)
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName()
    {
        return doctorName;
    }

    public void setDoctorPhone(String doctorPhone)
    {
        this.doctorPhone = doctorPhone;
    }

    public String getDoctorPhone()
    {
        return doctorPhone;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    public void setDoctorGender(String doctorGender)
    {
        this.doctorGender = doctorGender;
    }

    public String getDoctorGender()
    {
        return doctorGender;
    }

    public void setHospital(String hospital)
    {
        this.hospital = hospital;
    }

    public String getHospital()
    {
        return hospital;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("doctorId", getDoctorId())
                .append("doctorName", getDoctorName())
                .append("doctorPhone", getDoctorPhone())
                .append("address", getAddress())
                .append("doctorGender", getDoctorGender())
                .append("hospital", getHospital())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
